<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta content="yes" name="apple-mobile-web-app-capable">
        <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, target-densityDpi=device-dpi" />
        <!-- 微软的老式浏览器 -->
        <meta name="MobileOptimized" content="320">
        <!-- 启用360浏览器的极速模式(webkit) – -->
        <meta name="renderer" content="webkit">
        <!-- 避免IE使用兼容模式 -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
        <meta name="HandheldFriendly" content="true">
        <!-- uc强制竖屏 -->
        <meta name="screen-orientation" content="portrait">
        <!-- QQ强制竖屏 -->
        <meta name="x5-orientation" content="portrait">
        <!-- UC强制全屏 -->
        <meta name="full-screen" content="yes">
        <!-- QQ强制全屏 -->
        <meta name="x5-fullscreen" content="true">
        <!-- UC应用模式 若开启长按无法复制链接-->
        <!--meta name="browsermode" content="application"-->
        <!-- QQ应用模式 -->
        <meta name="x5-page-mode" content="app">
        <!--网站开启对web app程序的支持-->
        <meta name="apple-touch-fullscreen" content="yes">
        <!--在web app应用下状态条（屏幕顶部条）的颜色-->
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <!-- windows phone 点击无高光 -->
        <meta name="msapplication-tap-highlight" content="no">
        <!--移动web页面是否自动探测电话号码-->
        <!--<meta http-equiv="x-rim-auto-match" content="none">-->
        <!--手机号码显示为拨号链接-->
        <meta name="format-detection" content="telephone=no">
        <meta http-equiv="Cache-Control" content="max-age=300" />
        <meta http-equiv="Expires" content="300" />
        <title>招招理财</title>
        <link rel="stylesheet" href="./css/reset.css">
        <link rel="stylesheet" href="./css/push-hand.css">
        <link rel="stylesheet" href="./assets/swiper/css/swiper.min.css">
        <link rel="stylesheet" href="./assets/layer_mobile/need/layer.css">
        <script src="./js/jquery.min.js"></script>
        <script src="./assets/swiper/js/swiper.jquery.min.js"></script>
        <script src="./js/common.js"></script>
        <script src="./assets/layer_mobile/layer.js"></script>
    </head>
    <body>
      <div class="content">
        <img src="images/push-hand.png" />
        <div class="btn">
          <div class="form-row">
              <input class="telephone" type="text" placeholder="输入手机号" />
          </div>
          
          <div class="form-row">
              <span>
                  <input class="telephone" type="text" placeholder="输入验证码" />
                  <button type="button" class="btn-sms">获取验证码</button>
              </span>
          </div>
          
          <button class="invest">去投资拿返利</button>
        </div>
      </div>
      <script type="text/javascript">
          $('.btn-sms').click(function() {
            if ($('.telephone').val().match(/^1[34578]\d{9}$/)) {

            }else{
              layer.open({
                content: '手机号码格式错误'
                ,skin: 'msg'
                ,time: 2 //2秒后自动关闭
              });
            };
          });
      </script>
    </body>
</html>